﻿<!-- 继承公共文件 -->
<extend name="./Application/Admin/view/layout.html" />
 <block name="mid">
 <h3>角色列表</h3>
 <div class="col-lg-12 col-md-12 col-sm-12">
             <hr>
            
              <a class="glyphicon glyphicon-plus  btn btn-success btn-lg" href="{:U('Admin/group/add')}">添加角色</a>

             </div>
             <br>
    
     <div class="">
           <div class="table-responsive">
                                <table class="table table-striped table-bordered table-hover">
                            <thead>
                                <tr>
                                    <th>id</th>
                                    <th>名称</th>
                                    <th>图标</th>
                                    <th>链接</th>
                                    <th>显示</th>
                                     <th>位置</th>
                                     <th>所属层级</th>
                                     <th>所属模块</th>
                                     <th>操作</th>



                                </tr>
                            </thead>
                            <tbody>
                            <foreach name="list" key="k" item="v">
                                <tr>
                                    <td>{$v.id}</td>
                                    <td>{$v.name}</td>
                                    <td><i class="fa {$v.icon}">{$v.icon}</i></td>
                                    <td>{$v.url}</td>
                                    <td>{$v['is_show']==1?'显示':'不显示'}                           
                                    </td>
                                    <td>{$v.point}</td>
                                    <td>{$v.pid}</td>
                                    <td>{$v['is_home']==1?'前台':'后台'}</td>
                                    <td>
                                    <button class="btn btn-info" type="button">Info</button>
                                    <button class="btn btn-warning" type="button">编辑</button>
                                    <button class="btn btn-danger" type="button">删除</button> 
                                    </td>

                                </tr>
                                </foreach>


                                
                            </tbody>
                        </table>
                        <ul class="pagination">
                              
                              {$page}
                            </ul>
               </div>
             <hr>
            
            
            
         </div>

  </block>















